package com.tarena.lbs.business.dao.repository;

import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface StoreRepository {

    List<StorePO> list(StoreQuery query);
    void add(StorePO storePO);

    PageResult<StoreVO> getStoreByCity(AreaStoreQuery query);

    void location(StoreVO locationPO);


    int delete(Integer id);

    int updateStatus(Integer id, Integer status);
}
